package com.wolfeyes.system.mapper;

import com.wolfeyes.system.domain.SysActor;
import com.wolfeyes.system.domain.SysUser;

import java.util.List;

/**
 * @see Talk is cheap, Show me the code. -- Linus Torvalds
 * @title 电影演员映射器-Mapper接口
 * @author yanyljava
 * @email yanyljava@qq.com
 * @create 2022-01-13 15:34
*/
public interface SysActorMapper {
	
    List<SysActor> findAll(SysActor sysActor);

    SysActor findById(Long id);

    int add(SysActor sysActor);

    int update(SysActor sysActor);

    int delete(Long id);

    SysActor findActorById(Long id);

    /**
     * 根据电影id查询所有主演名称
     * @param id
     * @return
     */
    List<String> findaMajorActorNameCns(Long id);
}
